home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Python 1.3.3 / Python 133 SRC / Mac / Modules / ctl / ctledit.py next >
Text File  |  1995-06-18  |  204b  |  9 lines

  1. as_resource_body = """
  2. return ResObj_New((Handle)_self->ob_itself);
  3. """
  4.  
  5. f = ManualGenerator("as_Resource", as_resource_body)
  6. f.docstring = lambda : "Return this Control as a Resource"
  7.  
  8. methods.append(f)
  9.